<?php

class Default_CatalogController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
    }

    public function categoryAction()
    {
        // action body
        $categories = new Default_Model_DbTable_Categories();
        $this->view->categories = $categories->fetchAll("category_status = 1"); 
        
    }

    public function quickcategoryAction()
    {
        // action body
    }

    public function listchildrenAction()
    {
        // action body
        $parentId = $this->getRequest()->getParam("parentId");
        $categories = new Default_Model_DbTable_Categories();
        $this->view->categories = $categories->getByParent($parentId);
    }


}







